<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录</title>
</head>
<body>
	<div style=" height:300px; line-height:63px" align="center" >
		<h1>用户登录</h1>
		<form action="<%=request.getContextPath() %>/UsersServlet" method="post">
			用户名：<input name="username" type="text" value=""/><br> 
			密码：<input name="password" type="password" value=""/><br> 
			<input name="submittype" type="submit" value="登录"/>
  	   </form>
		<form action="<%=request.getContextPath() %>/user/add.jsp" method="post">
			<input name="submittype" type="submit" value="注册"/>
		</form>
		<p>${error}</p>
	</div>
</body>
</html>